spin button: Fix initial button state
authorMatthias Clasen <mclasen@redhat.com>
Fri, 20 Nov 2015 16:40:55 +0000 (11:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 20 Nov 2015 16:40:55 +0000 (11:40 -0500)
commitcf7bb4f2aa18255d52ba97bd12a8930b3b879fc5
treeb62ff73d4d1b60034416ce54cbff33619d2b3e34
parent1db5ed0aae4eda188f64e13d81ba65c199195ef6
spin button: Fix initial button state

We can't use up_panel and down_panel as differentiators for the buttons,
because these window system resources don't exist before realize().
Just use a one-off enum for this purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=758094
gtk/gtkspinbutton.c